-include_lib("ect/include/ect.hrl").

-class(class1).
?FIELDS({field1,field2 = 2,field3}).
-methods([method1/2, method2/2]).

-export([notmethod/1]).

method1(This, X) ->
    {This, X+1}.
method2(This, a) ->
    1;
method2(This, b) ->
    2.
notmethod(A) ->
    A+1.
